package com.ruoyi.system.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
@Data
@Schema(description = "数据包信息")
public class TbDataPackageCreateDTO {
    @Schema(description = "数据包名", example = "com.example.weather")
    private String bundleName;

    @Schema(description = "开发商", example = "Huawei")
    private String vendor;

    @Schema(description = "版本编号", example = "1.2.0")
    private String versionCodeNum;

    @Schema(description = "版本号", example = "120")
    private String versionCode;

    @Schema(description = "适用设备类型", example = "[\"phone\", \"tablet\"]")
    private List<String> deviceTypes;

    @Schema(description = "文件大小", example = "500MB")
    private Double fileSize;

    @Schema(description = "MD5  hash", example = "jijojoijoijbgygt")
    private String packageHash;


    @Schema(description = "包存储路径")
    private String packageUrl;

    @Schema(description = "状态 1 =上架 0 下架")
    private Integer  status =1;

    @Schema(description = "是否强制更新 1 =强制更新 0 不强制更新")
    private  Integer  forceUpdate ;

    @Schema(description = "数据包版本描述")
    private String description;

}
